<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: ArrayAccessor&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Compute Library
   &#160;<span id="projectnumber">18.05</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.xhtml"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classarm__compute_1_1test_1_1_array_accessor.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">ArrayAccessor&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml" title="ArrayAccessor implementation for Array objects. ">ArrayAccessor</a> implementation for <a class="el" href="classarm__compute_1_1_array.xhtml">Array</a> objects.  
 <a href="classarm__compute_1_1test_1_1_array_accessor.xhtml#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_array_accessor_8h_source.xhtml">ArrayAccessor.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for ArrayAccessor&lt; T &gt;:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1test_1_1_array_accessor__coll__graph.svg" width="166" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.xhtml">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab3668a4ef621da1b5a02fd25c81fee3a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ab3668a4ef621da1b5a02fd25c81fee3a">ArrayAccessor</a> (<a class="el" href="classarm__compute_1_1_array.xhtml">Array</a>&lt; T &gt; &amp;array)</td></tr>
<tr class="memdesc:ab3668a4ef621da1b5a02fd25c81fee3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an accessor for the given <code>array</code>.  <a href="#ab3668a4ef621da1b5a02fd25c81fee3a">More...</a><br /></td></tr>
<tr class="separator:ab3668a4ef621da1b5a02fd25c81fee3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee13ff9244f68f7aa23d2a4d7a26a6ef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#aee13ff9244f68f7aa23d2a4d7a26a6ef">ArrayAccessor</a> (const <a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a> &amp;)=delete</td></tr>
<tr class="memdesc:aee13ff9244f68f7aa23d2a4d7a26a6ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copy constructed.  <a href="#aee13ff9244f68f7aa23d2a4d7a26a6ef">More...</a><br /></td></tr>
<tr class="separator:aee13ff9244f68f7aa23d2a4d7a26a6ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8e135abcf1fafedfcf9ee0577af6fa1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ab8e135abcf1fafedfcf9ee0577af6fa1">operator=</a> (const <a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a> &amp;)=delete</td></tr>
<tr class="memdesc:ab8e135abcf1fafedfcf9ee0577af6fa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied.  <a href="#ab8e135abcf1fafedfcf9ee0577af6fa1">More...</a><br /></td></tr>
<tr class="separator:ab8e135abcf1fafedfcf9ee0577af6fa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53235c85779895ae247e7182a020e631"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a53235c85779895ae247e7182a020e631">ArrayAccessor</a> (<a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a> &amp;&amp;)=default</td></tr>
<tr class="memdesc:a53235c85779895ae247e7182a020e631"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be move constructed.  <a href="#a53235c85779895ae247e7182a020e631">More...</a><br /></td></tr>
<tr class="separator:a53235c85779895ae247e7182a020e631"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cac2e7a5f7f729bd612f69fb0e21b19"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a2cac2e7a5f7f729bd612f69fb0e21b19">operator=</a> (<a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a> &amp;&amp;)=default</td></tr>
<tr class="memdesc:a2cac2e7a5f7f729bd612f69fb0e21b19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be moved.  <a href="#a2cac2e7a5f7f729bd612f69fb0e21b19">More...</a><br /></td></tr>
<tr class="separator:a2cac2e7a5f7f729bd612f69fb0e21b19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade9461ca253dd956d2d08f89dd04c6eb"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ade9461ca253dd956d2d08f89dd04c6eb">num_values</a> () const override</td></tr>
<tr class="memdesc:ade9461ca253dd956d2d08f89dd04c6eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of elements of the tensor.  <a href="#ade9461ca253dd956d2d08f89dd04c6eb">More...</a><br /></td></tr>
<tr class="separator:ade9461ca253dd956d2d08f89dd04c6eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32e914dbe65c0591501e44790957bb0f"><td class="memItemLeft" align="right" valign="top">T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">buffer</a> () override</td></tr>
<tr class="memdesc:a32e914dbe65c0591501e44790957bb0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access to the buffer.  <a href="#a32e914dbe65c0591501e44790957bb0f">More...</a><br /></td></tr>
<tr class="separator:a32e914dbe65c0591501e44790957bb0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cafaca7cb86d89b5f20f987448c341c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a0cafaca7cb86d89b5f20f987448c341c">resize</a> (size_t num) override</td></tr>
<tr class="memdesc:a0cafaca7cb86d89b5f20f987448c341c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resize array.  <a href="#a0cafaca7cb86d89b5f20f987448c341c">More...</a><br /></td></tr>
<tr class="separator:a0cafaca7cb86d89b5f20f987448c341c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa733629a56800aca0b5cb4608069718b"><td class="memItemLeft" align="right" valign="top">T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#aa733629a56800aca0b5cb4608069718b">at</a> (size_t index) const override</td></tr>
<tr class="memdesc:aa733629a56800aca0b5cb4608069718b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference to the element of the array located at the given index.  <a href="#aa733629a56800aca0b5cb4608069718b">More...</a><br /></td></tr>
<tr class="separator:aa733629a56800aca0b5cb4608069718b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classarm__compute_1_1test_1_1_i_array_accessor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1test_1_1_i_array_accessor')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml">IArrayAccessor&lt; T &gt;</a></td></tr>
<tr class="memitem:aab5e9c61ab48807226cd3187db35c9ba inherit pub_methods_classarm__compute_1_1test_1_1_i_array_accessor"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#aab5e9c61ab48807226cd3187db35c9ba">~IArrayAccessor</a> ()=default</td></tr>
<tr class="memdesc:aab5e9c61ab48807226cd3187db35c9ba inherit pub_methods_classarm__compute_1_1test_1_1_i_array_accessor"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor.  <a href="#aab5e9c61ab48807226cd3187db35c9ba">More...</a><br /></td></tr>
<tr class="separator:aab5e9c61ab48807226cd3187db35c9ba inherit pub_methods_classarm__compute_1_1test_1_1_i_array_accessor"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classarm__compute_1_1test_1_1_i_array_accessor"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classarm__compute_1_1test_1_1_i_array_accessor')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml">IArrayAccessor&lt; T &gt;</a></td></tr>
<tr class="memitem:afb9ded5f49336ae503bb9f2035ea902b inherit pub_types_classarm__compute_1_1test_1_1_i_array_accessor"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#afb9ded5f49336ae503bb9f2035ea902b">value_type</a> = T</td></tr>
<tr class="memdesc:afb9ded5f49336ae503bb9f2035ea902b inherit pub_types_classarm__compute_1_1test_1_1_i_array_accessor"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classarm__compute_1_1_array.xhtml" title="Basic implementation of the IArray interface which allocates a static number of T values...">Array</a> value type.  <a href="#afb9ded5f49336ae503bb9f2035ea902b">More...</a><br /></td></tr>
<tr class="separator:afb9ded5f49336ae503bb9f2035ea902b inherit pub_types_classarm__compute_1_1test_1_1_i_array_accessor"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
class arm_compute::test::ArrayAccessor&lt; T &gt;</h3>

<p><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml" title="ArrayAccessor implementation for Array objects. ">ArrayAccessor</a> implementation for <a class="el" href="classarm__compute_1_1_array.xhtml">Array</a> objects. </p>

<p>Definition at line <a class="el" href="_array_accessor_8h_source.xhtml#l00036">36</a> of file <a class="el" href="_array_accessor_8h_source.xhtml">ArrayAccessor.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab3668a4ef621da1b5a02fd25c81fee3a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1_array.xhtml">Array</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>array</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create an accessor for the given <code>array</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">array</td><td>To be accessed array. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_array_accessor_8h_source.xhtml#l00043">43</a> of file <a class="el" href="_array_accessor_8h_source.xhtml">ArrayAccessor.h</a>.</p>

<p>References <a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ab8e135abcf1fafedfcf9ee0577af6fa1">ArrayAccessor&lt; T &gt;::operator=()</a>.</p>
<div class="fragment"><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        : _array{ array }</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    {</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aee13ff9244f68f7aa23d2a4d7a26a6ef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Prevent instances of this class from being copy constructed. </p>

</div>
</div>
<a class="anchor" id="a53235c85779895ae247e7182a020e631"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a>&lt; T &gt; &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allow instances of this class to be move constructed. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa733629a56800aca0b5cb4608069718b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T&amp; at </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reference to the element of the array located at the given index. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>Index of the element</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to the element of the array located at the given index. </dd></dl>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#ad1d196a1f89d9889461e6920b92d4db5">IArrayAccessor&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_array_accessor_8h_source.xhtml#l00072">72</a> of file <a class="el" href="_array_accessor_8h_source.xhtml">ArrayAccessor.h</a>.</p>

<p>References <a class="el" href="_error_8h_source.xhtml#l00328">ARM_COMPUTE_ERROR_ON</a>, and <a class="el" href="_array_accessor_8h_source.xhtml#l00057">ArrayAccessor&lt; T &gt;::num_values()</a>.</p>
<div class="fragment"><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    {</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(_array.buffer() == <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(index &gt;= <a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ade9461ca253dd956d2d08f89dd04c6eb">num_values</a>());</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <span class="keywordflow">return</span> _array.buffer()[index];</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1test_1_1_array_accessor_xhtml_ade9461ca253dd956d2d08f89dd04c6eb"><div class="ttname"><a href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ade9461ca253dd956d2d08f89dd04c6eb">arm_compute::test::ArrayAccessor::num_values</a></div><div class="ttdeci">size_t num_values() const override</div><div class="ttdoc">Number of elements of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_array_accessor_8h_source.xhtml#l00057">ArrayAccessor.h:57</a></div></div>
<div class="ttc" id="_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00328">Error.h:328</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a32e914dbe65c0591501e44790957bb0f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T* buffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Access to the buffer. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the first element in the buffer. </dd></dl>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#a4e1979433c9e97e4797fdb060ca5e3ad">IArrayAccessor&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_array_accessor_8h_source.xhtml#l00062">62</a> of file <a class="el" href="_array_accessor_8h_source.xhtml">ArrayAccessor.h</a>.</p>

<p>Referenced by <a class="el" href="validation_2_n_e_o_n_2_harris_corners_8cpp_source.xhtml#l00111">arm_compute::test::validation::FIXTURE_DATA_TEST_CASE()</a>.</p>
<div class="fragment"><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    {</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <span class="keywordflow">return</span> _array.buffer();</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ade9461ca253dd956d2d08f89dd04c6eb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t num_values </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Number of elements of the tensor. </p>
<dl class="section return"><dt>Returns</dt><dd>the number of elements. </dd></dl>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#a19ecfde9ec6b2dda6d06cc79dd8d956c">IArrayAccessor&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_array_accessor_8h_source.xhtml#l00057">57</a> of file <a class="el" href="_array_accessor_8h_source.xhtml">ArrayAccessor.h</a>.</p>

<p>Referenced by <a class="el" href="_array_accessor_8h_source.xhtml#l00072">ArrayAccessor&lt; T &gt;::at()</a>, and <a class="el" href="validation_2_n_e_o_n_2_harris_corners_8cpp_source.xhtml#l00111">arm_compute::test::validation::FIXTURE_DATA_TEST_CASE()</a>.</p>
<div class="fragment"><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    {</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        <span class="keywordflow">return</span> _array.num_values();</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ab8e135abcf1fafedfcf9ee0577af6fa1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a>&amp; operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Prevent instances of this class from being copied. </p>

<p>Referenced by <a class="el" href="_array_accessor_8h_source.xhtml#l00043">ArrayAccessor&lt; T &gt;::ArrayAccessor()</a>.</p>

</div>
</div>
<a class="anchor" id="a2cac2e7a5f7f729bd612f69fb0e21b19"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a>&amp; operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a>&lt; T &gt; &amp;&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allow instances of this class to be moved. </p>

</div>
</div>
<a class="anchor" id="a0cafaca7cb86d89b5f20f987448c341c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void resize </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>num</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resize array. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">num</td><td>The new array size in number of elements </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classarm__compute_1_1test_1_1_i_array_accessor.xhtml#aa3243d314953e018ebcaf98128068110">IArrayAccessor&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_array_accessor_8h_source.xhtml#l00067">67</a> of file <a class="el" href="_array_accessor_8h_source.xhtml">ArrayAccessor.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    {</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        _array.resize(num);</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    }</div></div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>tests/NEON/<a class="el" href="_array_accessor_8h_source.xhtml">ArrayAccessor.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test.xhtml">test</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor</a></li>
    <li class="footer">Generated on Wed May 23 2018 11:36:43 for Compute Library by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
